import request from '@/utils/request'
export default{
  //我的课程根据 userid 获取 全部的分类
  getallclassbyuid(userid){
    return request({
      url: `/eduservice/uicourse/getoneclassbyuserid/${userid}`,
      method: 'get'
    })
  },
  //我的课程  根据userid和一级分类获取二级分类
  gettwoclassesbyuidone(userid,oneclass){
    return request({
      url: `/eduservice/uicourse/gettwoclassesbyone/${userid}/${oneclass}`,
      method: 'get'
    })
  },
  //根据三个条件获取课程
  getcourseinfobythree(uiMyCourseVoquery){
    return request({
      url: `/eduservice/uicourse/getcourseinfobythreeinfo`,
      method: 'post',
      data: uiMyCourseVoquery
    })
  }
}
